package com.yulinlin.admin.modules.sys.domain;

import com.yulinlin.admin.core.domain.SuperEntity;

import com.yulinlin.jdbc.model.anno.JoinField;
import com.yulinlin.jdbc.model.anno.JoinTable;
import com.yulinlin.jdbc.model.anno.JoinWhere;
import com.yulinlin.jdbc.serialize.ListString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;



@Data
@ApiModel("参数枚举")
@JoinTable("sys_enum")
public class SysEnumEntity extends SuperEntity<SysEnumEntity>  {









        @NotEmpty(message = "必填")
        @ApiModelProperty("编码")
        @JoinWhere
        @JoinField
        private String code;





        @NotEmpty(message = "必填")
        @ApiModelProperty("标题")
        @JoinWhere
        @JoinField
        private String title;





        @NotEmpty(message = "必填")
        @ApiModelProperty("值")
        @JoinWhere
        @JoinField
        private String value;





        @NotEmpty(message = "必填")
        @ApiModelProperty("枚举类型")
        @JoinWhere
        @JoinField
        private String enumType;











        @NotEmpty(message = "必填")
        @ApiModelProperty("")
        @JoinWhere
        @JoinField
        private Date uptTime;






}
